package cp.test;

import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.SocketException;

public class Client {

	public static void main(String args[]) throws IOException{
	    
	    byte[] recivedata = new byte[640*3*8];
	    int[] img = new int[640*480];
	    
	    DatagramSocket socket = new DatagramSocket(9001);
	    DatagramPacket recive = new DatagramPacket(recivedata, recivedata.length);
	    socket.receive(recive);
	    System.out.println("Packet recived");
	    socket.close();
	}
}
